package sdu.icat.forum.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import sdu.icat.forum.smodel.ForumComment;

@Repository
public interface ForumCommentRepository extends JpaRepository<ForumComment, Long>{

    Page<ForumComment> findByDocumentId(Long documentId,Pageable pageable);
    
}
